<?php 

namespace Index\Controller;
use Think\Controller;

/**
* 
*/
class ThemeController extends Controller
{
	public function index(){
		$link =M();
		$sql ="select * from theme";
		$res =$link->query($sql);
		// var_dump($res);
		$this->assign('res',$res);//输出所有话题
		$this->display();
	}
	
}








 ?>